package com.ygxsk.carhome;

import android.service.notification.NotificationListenerService;
import android.service.notification.StatusBarNotification;

import com.blankj.utilcode.util.LogUtils;
import com.ygxsk.carhome.constant.ConstantSign;

public class YourNotificationListenerService extends NotificationListenerService {

    @Override
    public void onNotificationRemoved(StatusBarNotification sbn) {

        // 通知被移除时的处理逻辑
        // 在这里检查通知是否被关闭

        LogUtils.d(ConstantSign.LOGCAT_NOMAL + "通知被移除了");

//        main, com.ygxsk.carhome.YourNotificationListenerService.onNotificationRemoved(YourNotificationListenerService.java:17)
//        itchen-->通知被移除了

    }
}
